//
//  YZYRoleInfo.h
//  YZYSDK
//
//  Created by 赵隆杰 on 2024/6/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface YZYRoleInfo : NSObject

///角色上报类型: createrole 创建角色; enterserver 进入服务器调用; levelup 升级角色; loginout 退出登录;
@property (nonatomic, strong) NSString *role_type;
///登录时间（在进入游戏上报时必传）
@property (nonatomic, strong) NSString *login_time;
///登出时间（在退出游戏上报时必传）
@property (nonatomic, strong) NSString *loginout_time;
///注册时间（在创建角色上报时必传）
@property (nonatomic, strong) NSString *reg_time;
///更新时间（在更新角色上报时必传）
@property (nonatomic, strong) NSString *update_time;

///角色id（必传）
@property (nonatomic, strong) NSString *role_id;
///角色等级（必传）
@property (nonatomic, strong) NSString *role_level;
///角色名称（必传）
@property (nonatomic, strong) NSString *role_name;
///区服id（必传）
@property (nonatomic, strong) NSString *service_id;
///区服名称（必传）
@property (nonatomic, strong) NSString *service_name;
///角色标签
@property (nonatomic, strong) NSString *role_label_code;
///描述
@property (nonatomic, strong) NSString *describe;
///经验
@property (nonatomic, strong) NSString *experience;
///金额
@property (nonatomic, strong) NSString *money;

//以下无须cp传
///大号用户id
@property (nonatomic, strong) NSString *user_id;
///小号用户id
@property (nonatomic, strong) NSString *son_user_id;
///发行用户id
@property (nonatomic, strong) NSString *super_user_id;
///登录ip
@property (nonatomic, strong) NSString *login_ip;
///1安卓 2iOS 3H5
@property (nonatomic, assign) NSInteger os_type;
///注册ip
@property (nonatomic, strong) NSString *reg_ip;

@property (nonatomic, copy) NSString *power_value;

@property (nonatomic, copy) NSString *super_role_id;

@property (nonatomic, copy) NSString *super_token;

+ (YZYRoleInfo *)copyWithRoleInfo:(YZYRoleInfo *)roleInfo;

@end

NS_ASSUME_NONNULL_END
